package crawler.server.sdk.bean.core;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import crawler.server.sdk.type.ScriptEnum;

public class TaskBean implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String ID;                
	private String taskId;        
	private String groupName;                                                   
	private String taskName;                                                        
	private List<URLBean> urlBeans;                                                      
	private Integer priority;                                                                   
	private Integer retry;                                                                             
	private Long repeatTime;                                                           
	private Integer repeatRound;                                                            
	private Long taskInterval;                                                                    
	private Long taskTimeOut;                                                           
	private Long urlInterval;                                                                          
	private Long urlTimeOut;       
	private String version;                                                                 
	private ScriptEnum scriptType;                                                                  
	private Boolean runNow;                                                                          
	private Boolean multiThreading; 
	private String clientGroup;    
	private Boolean taskStatus;    
	private Date createTime;
	private Date updateTime;
	private String fileMD5;
	
	
	
	public String getID() {
		return ID;
	}
	public void setID(String iD) {
		ID = iD;
	}
	public String getTaskId() {
		return taskId;
	}
	public void setTaskId(String taskId) {
		this.taskId = taskId;
	}
	public String getGroupName() {
		return groupName;
	}
	public void setGroupName(String groupName) {
		this.groupName = groupName;
	}
	public String getTaskName() {
		return taskName;
	}
	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}
	public List<URLBean> getUrlBeans() {
		return urlBeans;
	}
	public void setUrlBeans(List<URLBean> urlBeans) {
		this.urlBeans = urlBeans;
	}
	public Integer getPriority() {
		return priority;
	}
	public void setPriority(Integer priority) {
		this.priority = priority;
	}
	public Integer getRetry() {
		return retry;
	}
	public void setRetry(Integer retry) {
		this.retry = retry;
	}
	public Long getRepeatTime() {
		return repeatTime;
	}
	public void setRepeatTime(Long repeatTime) {
		this.repeatTime = repeatTime;
	}
	public Integer getRepeatRound() {
		return repeatRound;
	}
	public void setRepeatRound(Integer repeatRound) {
		this.repeatRound = repeatRound;
	}
	public Long getTaskInterval() {
		return taskInterval;
	}
	public void setTaskInterval(Long taskInterval) {
		this.taskInterval = taskInterval;
	}
	public Long getTaskTimeOut() {
		return taskTimeOut;
	}
	public void setTaskTimeOut(Long taskTimeOut) {
		this.taskTimeOut = taskTimeOut;
	}
	public Long getUrlInterval() {
		return urlInterval;
	}
	public void setUrlInterval(Long urlInterval) {
		this.urlInterval = urlInterval;
	}
	public Long getUrlTimeOut() {
		return urlTimeOut;
	}
	public void setUrlTimeOut(Long urlTimeOut) {
		this.urlTimeOut = urlTimeOut;
	}
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	public ScriptEnum getScriptType() {
		return scriptType;
	}
	public void setScriptType(ScriptEnum scriptType) {
		this.scriptType = scriptType;
	}
	public Boolean getRunNow() {
		return runNow;
	}
	public void setRunNow(Boolean runNow) {
		this.runNow = runNow;
	}
	public Boolean getMultiThreading() {
		return multiThreading;
	}
	public void setMultiThreading(Boolean multiThreading) {
		this.multiThreading = multiThreading;
	}
	public String getClientGroup() {
		return clientGroup;
	}
	public void setClientGroup(String clientGroup) {
		this.clientGroup = clientGroup;
	}
	public Boolean getTaskStatus() {
		return taskStatus;
	}
	public void setTaskStatus(Boolean taskStatus) {
		this.taskStatus = taskStatus;
	}
	public Date getCreateTime() {
		return createTime;
	}
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
	public Date getUpdateTime() {
		return updateTime;
	}
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	public String getFileMD5() {
		return fileMD5;
	}
	public void setFileMD5(String fileMD5) {
		this.fileMD5 = fileMD5;
	}
	

}
